﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marbles.Data
{
    public class DataSourceTableDefinition
    {

        public DataSourceTable Table { get { return this._table; } }

        public List<DataSourceColumn> Columns { get { return this._columns; } }

        private List<DataSourceColumn> _columns = null;
        private DataSourceTable _table = null;

        public DataSourceTableDefinition(DataSourceTable Table)
        {
            this._columns = new List<DataSourceColumn>();
            this._table = Table;
        }

        internal void Add(DataSourceColumn Column)
        {
            this._columns.Add(Column);
        }

        public override string ToString()
        {
            return this._table.ToString();
        }
    }
}
